# $Id: PKGBUILD 151398 2012-02-26 10:18:59Z pierre $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=evieext
pkgver=1.1.1
pkgrel=2
pkgdesc="X11 Event Interception extension wire protocol"
arch=('any')
url="http://xorg.freedesktop.org/"
makedepends=('xorg-util-macros')
license=('MIT')
source=("${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('86d9545273b07961f0d5ba65c6c408371e10c0d2')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
